package com.ygxsk.carhome.response;

import java.util.ArrayList;
import java.util.List;

/**
 * 在线寄售（二手车）参数VO实体
 *
 * @author administrator
 * @email 123456678@qq.com
 * @date 2023-08-01 16:37:56
 */
public class ConsignmentVo extends Consignment {


    private String associationName; //关联二手车的车名

    //车辆图片
    private List<String> imgs = new ArrayList<>();
    private String shopName;

    private String urlPrefix;//图片前缀


    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    private String statusName;

    public String getAssociationName() {
        return associationName;
    }

    public void setAssociationName(String associationName) {
        this.associationName = associationName;
    }

//    public String getUrlPrefix() {
//        return ConfigUtil.getUrlPrefix("visitFileUploadRoot");
//    }
//
//    public void setUrlPrefix(String urlPrefix) {
//        this.urlPrefix = urlPrefix;
//    }

    public List<String> getImgs() {
//        if (Utils.stringIsNotEmpty(this.getVehicleImg())) {
//            return StringUtils.split(this.getVehicleImg(), ",", true).stream().map(i -> ConfigUtil.getPhotoUrl(i, "visitFileUploadRoot")).collect(Collectors.toList());
//        }
        return imgs;
    }

    public void setImgs(List<String> imgs) {
        this.imgs = imgs;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

}
